package manager.auth.vo;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
@Data
@Table(name = "tb_sys_permission")
public class SysPermissionVO implements Serializable {
    public SysPermissionVO(String name, String parentId, String code, String type, String resourceUrl) {
        this.name = name;
        this.parentId = parentId;
        this.code = code;
        this.type = type;
        this.resourceUrl = resourceUrl;
    }

    public SysPermissionVO() {

    }

    @Column(name = "id")
    private String id;
    @Column(name = "name")
    private String name;
    @Column(name = "parentId")
    private String parentId;
    @Column(name = "code")
    private String code;
    @Column(name = "type")
    private String type;
    @Column(name = "resource_url")
    private String resourceUrl;
}
